<script>

import Ggmb from "../gys_yq/index.vue"

export default {
  components: {
    Ggmb
  },
  data() {
    return {
      input_text_qy: {
        jcxx: {
          xx: [
            {
              title: "供应商名称",
              name: "supplierName",
              placeholder: "请输入供应商名称",
              value: "光辉岁月",
              require: true
            },
            {
              title: "公司类型",
              name: "companyType",
              placeholder: "请输入公司类型",
              value: "集体企业",
              type: "select"
            },
            {
              title: "供应商类别",
              name: "supplierCategoryName",
              placeholder: "请输入供应商类别",
              value: "生活",
              type: "select"
            },
            {
              title: "主营品类",
              name: "mainProductCategoryName",
              placeholder: "请输入主营品类",
              value: [
                {
                  label: "1",
                  value: "1"
                }
              ],
              type: "select"
            },
            {
              title: "纳税人识别号",
              name: "tax_number",
              placeholder: "请输入纳税人识别号",
              value: ""
            },
            {
              title: "成立时间",
              name: "establishment_date",
              placeholder: "请输入成立时间",
              value: "",
              type: "date"
            },
            {
              title: "所属省份",
              name: "province",
              placeholder: "请输入所属省份",
              value: ""
            },
            {
              title: "详细地址",
              name: "detailedAddress",
              placeholder: "请输入详细地址",
              value: ""
            },
            {
              title: "开户行名称",
              name: "bankName",
              placeholder: "请输入开户行名称",
              value: ""
            },
            {
              title: "银行账号",
              name: "bankAccount",
              placeholder: "请输入银行账号",
              value: ""
            },
            {
              title: "结算方式",
              name: "settlementMethod",
              placeholder: "请选择结算方式",
              value: ""
            },
            {
              title: "保证金",
              name: "deposit",
              placeholder: "请输入保证金",
              value: ""
            },
            {
              title: "推荐人",
              name: "recommenderName",
              placeholder: "请输入推荐人姓名",
              value: ""
            },
            {
              title: "推荐人电话",
              name: "recommenderPhone",
              placeholder: "请输入推荐人电话",
              value: ""
            },
            {
              title: "代理商级别",
              name: "agentLevel",
              placeholder: "请选择代理商级别",
              value: ""
            },
            {
              title: "备注",
              name: "remark",
              placeholder: "请输入备注",
              value: ""
            }
          ],
          img: [
            [
              {
                title: "营业执照",
                url: "",
                name: "business_url"
              }
            ],
            [
              {
                title: "质量管理证明",
                url: "",
                name: "zm"
              },
              {
                title: "代理授权书",
                url: "",
                name: "xx"
              },
              {
                title: "生产许可证",
                url: "",
                name: "xk"
              }
            ]
          ]
        },
        lxr: {
          xx: [
            {
              title: "法定代表人",
              name: "legalName",
              placeholder: "请输入联系人姓名",
              value: "",
              require: true
            },
            {
              title: "法定人身份证",
              name: "idNumber",
              placeholder: "请输入联系人电话",
              value: ""
            },
            {
              title: "法定人手机号",
              name: "legalPhone",
              placeholder: "请输入法定人手机号",
              type: "phone"
            },
            {
              title: "授权联系人",
              name: "authorized_contact",
              placeholder: "请输入授权联系人姓名",
              value: ""
            },
            {
              title: "职务",
              name: "contact_position",
              placeholder: "请输入职务",
              value: ""
            },
            {
              title: "联系人手机号",
              name: "contact_phone",
              placeholder: "请输入联系人手机号",
              value: ""
            }],
          img: [
            [
              {
                title: "授权委托书",
                url: "",
                name: "authorization_url"
              }
            ]
          ]
        }
      }
    }
  }
}
</script>

<template>
  <Ggmb type_user="qy" type_="edit" :input_text="input_text_qy"></Ggmb>
</template>

<style scoped lang="scss">

</style>
